package nba2kmodtool.filedesc;

import java.nio.ByteBuffer;

//Inner Classes
/**NBA2K TextureFile(DDS) In IFF*/
public class N2kTextureFile {

	protected long serial;
	protected String pixelFormat;
	protected int bmpFlag;
	protected ByteBuffer pixelData;
	protected int width;
	protected int height;
	protected long headerStart;
	protected static final int headerSize = 0xF0;
	protected long dataStart;
	protected long dataSize;
	protected short flag;
	protected int dataType = 0;
	protected int indexType;
	protected IffBlockIndex index;
	protected String fileType;
	protected int mip;

	public String toString() {
		return String.format("PixelFormat: %s, Width: %d, Height: %d", pixelFormat, width, height);
	}

	public String getPixelFormat() {
		return pixelFormat;
	}

	public ByteBuffer getPixelData() {
		return pixelData;
	}

	public int getWidth() {
		return width;
	}

	public int getHeight() {
		return height;
	}

	public long getDataSize() {
		return dataSize;
	}

	public String getFileType() {
		return fileType;
	}
}